package me.shurufa.share;

/**
 * Created by Yao on 2015/9/29.
 */

import android.graphics.Bitmap;

import me.shurufa.utils.Constants;

/**
 * 设置分享链接的内容
 * @author Administrator
 *
 */
public class ShareContentWebpage extends ShareContent{
    private String title;
    private String content;
    private String url;
    private Bitmap picResource;
    public ShareContentWebpage(String title, String content,
                               String url, Bitmap picResource){
        this.title = title;
        this.content = content;
        this.url = url;
        this.picResource = picResource;
    }

    @Override
    public String getContent() {
        return content;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public String getURL() {
        return url;
    }

    @Override
    public Bitmap getPicResource() {
        return picResource;
    }

    @Override
    public int getShareWay() {
        return Constants.SINA_SHARE_WAY_WEBPAGE;
    }

}
